package cn.tedu.front.details.service.impl;

import cn.tedu.front.details.dao.persest.repository.JobCategoryRepository;
import cn.tedu.front.details.pojo.vo.ListJobCategoryVO;
import cn.tedu.front.details.service.JobCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobCategoryServiceImpl implements JobCategoryService {
    @Autowired
    JobCategoryRepository repository;


    @Override
    public List<ListJobCategoryVO> listAllCategory() {
        return repository.listAllCategory();
    }
}
